package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.domain.Employee;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {
    Employee findByUsername(String username);

    List<Employee> findList(String name);

    void save(Employee employee);

    Employee findById(long id);

    int updateById(Employee employee);
}
